<template>

</template>

<script setup lang="ts">


import {markRaw, reactive, toRaw} from "vue";

  const person = reactive({
    name: 'Rinpu',
    age: 32
  })
  // toRaw变成原始数据
  console.log(toRaw(person));

  // markRaw禁止将原始数据变成响应式
  const car = markRaw({brand: '五菱宏光', price: 20000});
  const car2 = reactive(car);
</script>

<style scoped>

</style>

<script lang="ts">
export default {
  name: "MyTest11.vue"
}
</script>